/**
 * 获取原型对象
 * 1.返回值
 * 原型对象
 * 
 * 2.触发拦截操作
 * Object.getPrototypeOf(proxy)
 * Reflect.getPrototypeOf(proxy)
 * proxy.__proto__
 * proxy instanceof Object
 */

 const proxy = new Proxy({
    foo:'car',
    boo:'bar'
},{
    getPrototypeOf(target){
        console.log('getPrototypeOf()');
        return Reflect.getPrototypeOf(...arguments)
    }
});

Object.getPrototypeOf(proxy)////getPrototypeOf()
proxy.__proto__////getPrototypeOf()
proxy instanceof Object//getPrototypeOf()
console.log(Reflect.getPrototypeOf(proxy));
//getPrototypeOf()
//[Object: null prototype] {}  没有原型对象